From: Keir Fraser Date: Wed, 5 Jan 2011 09:52:54 +0000 (+0000) Subject: x86 hvm: Add a missing line to record the type passed into register_io_handler() X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10997 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=866cfd2c229d58f7ba368af04359291aeb4ff436;p=xen.git x86 hvm: Add a missing line to record the type passed into register_io_handler() Add a missing line to record the type passed into register_io_handler() Without this line, the BUFFERED_IO handler was never called. Signed-off-by: Wei Gang --- diff --git a/xen/arch/x86/hvm/intercept.c b/xen/arch/x86/hvm/intercept.c index 6ce49b6ad8..54f0f8cc17 100644 --- a/xen/arch/x86/hvm/intercept.c +++ b/xen/arch/x86/hvm/intercept.c @@ -238,6 +238,7 @@ void register_io_handler( handler->hdl_list[num].addr = addr; handler->hdl_list[num].size = size; handler->hdl_list[num].action.ptr = action; + handler->hdl_list[num].type = type; handler->num_slot++; }